package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.Airport;
import com.css.fxfzypg.modules.baseData.queryParams.AirportQueryParams;
import com.css.fxfzypg.modules.baseData.vo.AirportVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface AirportService {
  //  AirportVO updateAirport(AirportVO airportVO);
    AirportVO getAirportById(Integer id);
    void deleteAirport(List<Integer> ids);
    Airport saveAirport(Airport airport);
    JSONObject getAllAirport(AirportQueryParams queryParams);
    //下载表中内容
    List<Airport>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;
}
